// ==UserScript==
// @name           SL Viewer Torrents
// @namespace      http://uhu.googlecode.com/svn/trunk/userscripts/sl_viewer_torrents.user.js
// @description    Changes links on SecondLife.com to use the Torrent download url
// @include        http://secondlife.com/support/downloads.php*
// ==/UserScript==

var links = document.evaluate('*//a[contains(@href,"s3.amazonaws.com")]',document,null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
for(var i=0;i<links.snapshotLength;i++)
{
	links.snapshotItem(i).href += '?torrent';
}